# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         test06
# Description:
# Author:       98745
# Date:         2019/3/30
#-------------------------------------------------------------------------------

class Animal:
    name='animal'
    def eat(self):
        print('eat')


class Dog(Animal):
    def getea(self):
        print(super().name)
        super().eat()
        print('----')
        self.eat()


d=Dog()
d.getea()